package com.ssh.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ssh.dao.CommodityDao;
import com.ssh.entity.Commodity;
import com.ssh.service.CommodityService;

@Service
public class CommodityServiceImpl implements CommodityService {

	@Autowired
	private CommodityDao CommodityDao;

	@Override
	public Commodity showCommdityByName(String commodityName) {
		
		return CommodityDao.showCommdityByName(commodityName);

	}



	
}
